STATIC LINE OF SIGHT
This command will return a one if the specified 3D line from Sx,Sy,Sz to Dx,Dy,Dz collides with an already defined static collision box. The Width value allows you to vary the scope of detection, so that a thick line will ensure that the point at the start of the line has a very clear view of the destination point. The Accuracy value describes how accurate the returned line of sight data should be. Larger accuracy values means the line of sight calculation is quicker, but less accurate. A smaller value denotes more accuracy but the command takes longer to perform. All parameter values must be specified using real numbers.

SYNTAX
Return Integer=STATIC LINE OF SIGHT(X1, Y1, Z1, X2, Y2, Z2, Width, Accuracy)

RELATED INFO
BASIC3D Commands Menu
Index

EXAMPLE
View Showcase Example
View Usage Example